<script lang="ts">
export default {
  name: "Detail",
};
</script>
<script setup lang="ts">
import { createDialog } from "@/utils/createDialog";
defineProps<{ hide: Function; data: any }>();
const handleConfirm = () => {};
const showDialog = () => {
  createDialog({
    title: "弹窗3333",
    width: "200px",
    footer: {
      show: true,
    },
    component: "你好啊",
  });
};
defineExpose({
  handleConfirm,
});
</script>

<template>
  <el-form label-width="80px">
    <h1>hhhh</h1>
    <el-button type="primary" @click="showDialog"> 按钮 </el-button>
  </el-form>
</template>

<style lang="less" scoped>
.footer {
  margin-top: 200px;
}
</style>
<style>
.demo-image__error .image-slot {
  font-size: 30px;
}
.demo-image__error .image-slot .el-icon {
  font-size: 30px;
}
.demo-image__error .el-image {
  width: 100%;
  height: 200px;
}
</style>
